package cn.kgc.springboot.day05.mapper;

import cn.kgc.springboot.day05.entity.User;
import cn.kgc.springboot.day05.redis.RedisCache;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.CacheNamespace;

/**
* @author mengshun
* @description 针对表【user】的数据库操作Mapper
* @createDate 2024-03-22 13:48:22
* @Entity cn.kgc.springboot.day05.entity.User
*/
@CacheNamespace(implementation = RedisCache.class)  // 开启二级缓存
public interface UserMapper extends BaseMapper<User> {

}




